/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.plkobey.impl;

import za.ac.cput.assignment2.plkobey.Department;

/**
 *
 * @author Siya
 */
public class Student implements Department{

    private int studentNumber;
    
    @Override
    public boolean register() {
        //throw new UnsupportedOperationException("Not supported yet.");
        Course name = new Course();
        if(name.getNumOfSubjects() >= 5)
            return true;
        else
            return false;
    }

    /**
     * @return the studentNumber
     */
    public int getStudentNumber() {
        return studentNumber;
    }

    /**
     * @param studentNumber the studentNumber to set
     */
    public void setStudentNumber(int studentNumber) {
        this.studentNumber = studentNumber;
    }
    
}
